/**
 * 
 */
package com.oet.webservice.business.data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.oet.webservice.basic.OperationStatus;
import com.oet.webservice.basic.WebListResultInterface;


/**
 * @author y140zhan
 *
 */
public class SimWebUserCommentListResult implements Serializable,
		WebListResultInterface {
	List<WebServiceUserComment> list = new ArrayList<WebServiceUserComment>(0);
	Integer totalItems;
	Integer totalPages;
	Integer currentPage;
	OperationStatus os;


	public SimWebUserCommentListResult() {
    	totalItems = 0;
    	totalPages = 0;
    	currentPage = 0;
    	os = new OperationStatus();
    }
	
	public SimWebUserCommentListResult(List<WebServiceUserComment> list, Integer totalItems,
			Integer totalPages, Integer currentPage) {
		super();
		this.list = list;
		this.totalItems = totalItems;
		this.totalPages = totalPages;
		this.currentPage = currentPage;
		this.os = new OperationStatus();
	}

	public List<WebServiceUserComment> getList() {
        return list;
    }
	
    public void setList(List list) {
        this.list = list;
    }
    
    public Integer getTotalItems() {
        return totalItems;
    }
    
    public void setTotalItems(Integer totalItems) {
        this.totalItems = totalItems;
    }
    
    public Integer getTotalPages() {
        return totalPages;
    }
    
    public void setTotalPages(Integer totalPages) {
        this.totalPages = totalPages;
    }
    
    public Integer getCurrentPage() {
        return currentPage;
    }
    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }
    
	public OperationStatus getOs() {
		return os;
	}
	public void setOs(OperationStatus os) {
		this.os = os;
	}

}
